package com.inossem.warehousestorage_inossem.bean.inventory;

import com.inossem.warehousestorage_inossem.bean.common.BeanNew;

import java.util.List;

/**
 * Created by Administrator on 2017/9/2 0002.
 */

public class InventoryNewMatQueryRespBean extends BeanNew {

    /**
     * body : {"item_id":"111","mat_id":"123","mat_code":"WLBM123456","mat_name":"物料描述信息","position_id":"111","position_code":"111","stocktake_qty":"10.2","spec_stock":"Q","spec_stock_desc":"项目库存","spec_stock_code":"1","spec_stock_name":"特殊库存描述","supplier_code":"300","supplier_name":"莫某供应商","input_time":"2017-08-08","batch":"1111","batch_material_spec_list":[{"batch_spec_code":"1","batch_spec_name":"名称1","required":"1","batch_spec_type":"0","batch_spec_value":"","text":"北京三里屯","display_index":"1","info":[]},{"batch_spec_code":"1","batch_spec_name":"名称1","required":"1","batch_spec_type":"0","batch_spec_value":"","text":"北京三里屯","display_index":"2","info":[{"batch_spec_code":"01","batch_spec_value":"沈阳"},{"batch_spec_code":"02","batch_spec_value":"上海"},{"batch_spec_code":"03","batch_spec_value":"深圳"}]}],"batch_spec_list":[{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"}]}
     */

    private NewMaterielBean body;

    public NewMaterielBean getBody() {
        return body;
    }

    public void setBody(NewMaterielBean body) {
        this.body = body;
    }

    public static class NewMaterielBean {
        /**
         * item_id : 111
         * mat_id : 123
         * mat_code : WLBM123456
         * mat_name : 物料描述信息
         * position_id : 111
         * position_code : 111
         * stocktake_qty : 10.2
         * spec_stock : Q
         * spec_stock_desc : 项目库存
         * spec_stock_code : 1
         * spec_stock_name : 特殊库存描述
         * supplier_code : 300
         * supplier_name : 莫某供应商
         * input_time : 2017-08-08
         * batch : 1111
         * batch_material_spec_list : [{"batch_spec_code":"1","batch_spec_name":"名称1","required":"1","batch_spec_type":"0","batch_spec_value":"","text":"北京三里屯","display_index":"1","info":[]},{"batch_spec_code":"1","batch_spec_name":"名称1","required":"1","batch_spec_type":"0","batch_spec_value":"","text":"北京三里屯","display_index":"2","info":[{"batch_spec_code":"01","batch_spec_value":"沈阳"},{"batch_spec_code":"02","batch_spec_value":"上海"},{"batch_spec_code":"03","batch_spec_value":"深圳"}]}]
         * batch_spec_list : [{"batch_spec_code":"ZSCRQ","batch_spec_value":"2012-12-11","batch_spec_type":"2","required":"0","info":[],"display_index":"1","edit":"1"}]
         */

        private String item_id;
        private String mat_id;
        private String mat_code;
        private String mat_name;
        private String position_id;
        private String position_code;
        private String stocktake_qty;
        private String spec_stock;
        private String spec_stock_desc;
        private String spec_stock_code;
        private String spec_stock_name;
        private String supplier_code;
        private String supplier_name;
        private String input_time;
        private String batch;
        private String wh_code;
        private String wh_id;
        private String unit_id;
        private List<BatchMaterialSpecListBean> batch_material_spec_list;
        private List<BatchSpecListBean> batch_spec_list;

        public String getUnit_id() {
            return unit_id;
        }

        public void setUnit_id(String unit_id) {
            this.unit_id = unit_id;
        }

        public String getWh_id() {
            return wh_id;
        }

        public void setWh_id(String wh_id) {
            this.wh_id = wh_id;
        }

        public String getWh_code() {
            return wh_code;
        }

        public void setWh_code(String wh_code) {
            this.wh_code = wh_code;
        }

        public String getItem_id() {
            return item_id;
        }

        public void setItem_id(String item_id) {
            this.item_id = item_id;
        }

        public String getMat_id() {
            return mat_id;
        }

        public void setMat_id(String mat_id) {
            this.mat_id = mat_id;
        }

        public String getMat_code() {
            return mat_code;
        }

        public void setMat_code(String mat_code) {
            this.mat_code = mat_code;
        }

        public String getMat_name() {
            return mat_name;
        }

        public void setMat_name(String mat_name) {
            this.mat_name = mat_name;
        }

        public String getPosition_id() {
            return position_id;
        }

        public void setPosition_id(String position_id) {
            this.position_id = position_id;
        }

        public String getPosition_code() {
            return position_code;
        }

        public void setPosition_code(String position_code) {
            this.position_code = position_code;
        }

        public String getStocktake_qty() {
            return stocktake_qty;
        }

        public void setStocktake_qty(String stocktake_qty) {
            this.stocktake_qty = stocktake_qty;
        }

        public String getSpec_stock() {
            return spec_stock;
        }

        public void setSpec_stock(String spec_stock) {
            this.spec_stock = spec_stock;
        }

        public String getSpec_stock_desc() {
            return spec_stock_desc;
        }

        public void setSpec_stock_desc(String spec_stock_desc) {
            this.spec_stock_desc = spec_stock_desc;
        }

        public String getSpec_stock_code() {
            return spec_stock_code;
        }

        public void setSpec_stock_code(String spec_stock_code) {
            this.spec_stock_code = spec_stock_code;
        }

        public String getSpec_stock_name() {
            return spec_stock_name;
        }

        public void setSpec_stock_name(String spec_stock_name) {
            this.spec_stock_name = spec_stock_name;
        }

        public String getSupplier_code() {
            return supplier_code;
        }

        public void setSupplier_code(String supplier_code) {
            this.supplier_code = supplier_code;
        }

        public String getSupplier_name() {
            return supplier_name;
        }

        public void setSupplier_name(String supplier_name) {
            this.supplier_name = supplier_name;
        }

        public String getInput_time() {
            return input_time;
        }

        public void setInput_time(String input_time) {
            this.input_time = input_time;
        }

        public String getBatch() {
            return batch;
        }

        public void setBatch(String batch) {
            this.batch = batch;
        }

        public List<BatchMaterialSpecListBean> getBatch_material_spec_list() {
            return batch_material_spec_list;
        }

        public void setBatch_material_spec_list(List<BatchMaterialSpecListBean> batch_material_spec_list) {
            this.batch_material_spec_list = batch_material_spec_list;
        }

        public List<BatchSpecListBean> getBatch_spec_list() {
            return batch_spec_list;
        }

        public void setBatch_spec_list(List<BatchSpecListBean> batch_spec_list) {
            this.batch_spec_list = batch_spec_list;
        }

        public static class BatchMaterialSpecListBean {
            /**
             * batch_spec_code : 1
             * batch_spec_name : 名称1
             * required : 1
             * batch_spec_type : 0
             * batch_spec_value :
             * text : 北京三里屯
             * display_index : 1
             * info : []
             */

            private String batch_spec_code;
            private String batch_spec_name;
            private String required;
            private String batch_spec_type;
            private String batch_spec_value;
            private String text;
            private String display_index;
            private List<BatchSpecListBean.InfoBean> info;

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_name() {
                return batch_spec_name;
            }

            public void setBatch_spec_name(String batch_spec_name) {
                this.batch_spec_name = batch_spec_name;
            }

            public String getRequired() {
                return required;
            }

            public void setRequired(String required) {
                this.required = required;
            }

            public String getBatch_spec_type() {
                return batch_spec_type;
            }

            public void setBatch_spec_type(String batch_spec_type) {
                this.batch_spec_type = batch_spec_type;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getDisplay_index() {
                return display_index;
            }

            public void setDisplay_index(String display_index) {
                this.display_index = display_index;
            }

            public List<BatchSpecListBean.InfoBean> getInfo() {
                return info;
            }

            public void setInfo(List<BatchSpecListBean.InfoBean> info) {
                this.info = info;
            }
        }

        public static class BatchSpecListBean {
            /**
             * batch_spec_code : ZSCRQ
             * batch_spec_value : 2012-12-11
             * batch_spec_type : 2
             * required : 0
             * info : []
             * display_index : 1
             * edit : 1
             */

            private String batch_spec_code;
            private String batch_spec_value;
            private String batch_spec_type;
            private String batch_spec_name;
            private String required;
            private String display_index;
            private String edit;
            private String text;
            private List<InfoBean> info;

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getBatch_spec_name() {
                return batch_spec_name;
            }

            public void setBatch_spec_name(String batch_spec_name) {
                this.batch_spec_name = batch_spec_name;
            }

            public String getBatch_spec_code() {
                return batch_spec_code;
            }

            public void setBatch_spec_code(String batch_spec_code) {
                this.batch_spec_code = batch_spec_code;
            }

            public String getBatch_spec_value() {
                return batch_spec_value;
            }

            public void setBatch_spec_value(String batch_spec_value) {
                this.batch_spec_value = batch_spec_value;
            }

            public String getBatch_spec_type() {
                return batch_spec_type;
            }

            public void setBatch_spec_type(String batch_spec_type) {
                this.batch_spec_type = batch_spec_type;
            }

            public String getRequired() {
                return required;
            }

            public void setRequired(String required) {
                this.required = required;
            }

            public String getDisplay_index() {
                return display_index;
            }

            public void setDisplay_index(String display_index) {
                this.display_index = display_index;
            }

            public String getEdit() {
                return edit;
            }

            public void setEdit(String edit) {
                this.edit = edit;
            }

            public List<InfoBean> getInfo() {
                return info;
            }

            public void setInfo(List<InfoBean> info) {
                this.info = info;
            }
            public static class InfoBean {
                /**
                 * text : text
                 * value : value
                 */

                private String text;
                private String value;

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }
            }
        }
    }
}
